package com.ruoyi.tongban.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备注册用户对象 face_person
 * 
 * @author ruoyi
 * @date 2021-04-08
 */
public class FacePerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID主键 */
    private Long personId;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private Integer personType;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long deptId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String deptName;

    /** 设备上的人员ID */
    @Excel(name = "设备上的人员ID")
    private String devicePersonId;

    /** 年级ID */
    @Excel(name = "年级ID")
    private Long gradeId;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String gradeName;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long classId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 用户照片 */
    @Excel(name = "用户照片")
    private String image;
    
    private Long userId;
    
    private String userName;
    
    private String icCard;
    
    public String getIcCard() {
        return icCard;
    }
    
    public void setIcCard(String icCard) {
        this.icCard = icCard;
    }
    
    public Long getUserId() {
        return userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    
    public String getUserName() {
        return userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    public void setPersonId(Long personId)
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }
    public void setPersonType(Integer personType) 
    {
        this.personType = personType;
    }

    public Integer getPersonType() 
    {
        return personType;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setDevicePersonId(String devicePersonId) 
    {
        this.devicePersonId = devicePersonId;
    }

    public String getDevicePersonId() 
    {
        return devicePersonId;
    }
    public void setGradeId(Long gradeId) 
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId() 
    {
        return gradeId;
    }
    public void setGradeName(String gradeName) 
    {
        this.gradeName = gradeName;
    }

    public String getGradeName() 
    {
        return gradeName;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("personId", getPersonId())
            .append("personType", getPersonType())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("devicePersonId", getDevicePersonId())
            .append("gradeId", getGradeId())
            .append("gradeName", getGradeName())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("image", getImage())
            .append("createTime", getCreateTime())
            .toString();
    }
}
